﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp4
{
    class Computer
    {
        //加法
        public double Add(double num1,double num2)
        {
            return num1 + num2;
        }
        //减法
        public double Subtract(double num1,double num2)
        {
            return num1 - num2;
        }
        //乘
        public double Multiply(double num1, double num2)
        {
            return num1 * num2;
        }
        //除
         public double Divide(double num1, double num2)
        {
            return num1 / num2;
        }

    }
}
